package xiaojun.JAVA.domain.emtity;

/**
 * 实体类基类
 *
 * @author 赖晓君
 * @since 2025/6/15  16:32
 */
public abstract class BaseEntity {
    /**
     * 主键ID 只读的属性
     */

    private int id;

    public int getId() {
        return id;
    }

    public BaseEntity() {
    }

    public BaseEntity(int id) {
        this.id = id;
    }
}
